const getters = {
	tabBarList: state => state.tabBar.list,
	current: state => state.tabBar.current,
	index: state => state.tabBar.index,
	userInfo: state => state.user.userInfo,
	tel: state => state.user.tel,
	openid: state => state.user.openid,
	token: state => state.user.token,
	role: state => state.user.role,
	operator: state => state.user.operator,
	//operator{workUserId,userId,userName,stationId,stationName}
	switch_1: state => state.user.switch_1, //角色
	switch_2: state => state.user.switch_2, //业务员
	switch_3: state => state.user.switch_3, //菜单
	roleAlias: state => state.user.roleAlias,
	userList: state => state.user.userList,
	menuNames: state => state.user.menuNames,
	spotList: state => state.user.spotList,
}

export default getters